.class Lcom/waiqin365/lightapp/kehu/view/bz;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/text/TextWatcher;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/bz;->a:Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/bz;->a:Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;->l()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/bz;->a:Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;->getContext()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/bz;->a:Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;->l()Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/view/bz;->a:Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    invoke-virtual {v2}, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;->m()Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/view/bz;->a:Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;->d()Ljava/lang/CharSequence;

    move-result-object v3

    invoke-interface {v3}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v0, v1, v2, v3}, Lcom/waiqin365/lightapp/visit/c/b;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    :cond_0
    return-void
.end method

.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
    .locals 0

    return-void
.end method

.method public onTextChanged(Ljava/lang/CharSequence;III)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/bz;->a:Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;->a(Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->length()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/bz;->a:Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;->b(Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/bz;->a:Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;->c(Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;)Landroid/view/View;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/bz;->a:Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;->c(Lcom/waiqin365/lightapp/kehu/view/NumberTextView_vertical;)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0
.end method
